package com.tring.ysyn.model.dto.user;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 登录参数
 * @author Tring
 * date 2022-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LoginDTO {

    @NotBlank(message = "登陆账号不能为空")
    private String userName;

    @NotBlank(message = "登陆密码不能为空")
    private String password;

    private Integer type = 0;
}
